<?php
class StringNotMatch
{
	public static function check($botObj, $tweet, $condition)
	{
		mb_regex_encoding('UTF-8');
		mb_internal_encoding("UTF-8");
		
		$strings_to_check = explode(",", $condition);
		foreach($strings_to_check as $string_to_check)
		{
			if(mb_strstr($tweet['message'], $string_to_check))
			{
				return false;
			}
		}
		
		return true;
	}
}
?>
